﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="ObjectDataSource1">
            <Columns>
                <asp:BoundField DataField="PessoaID" HeaderText="PessoaID" 
                    SortExpression="PessoaID" />
                <asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                <asp:BoundField DataField="Endereco" HeaderText="Endereco" 
                    SortExpression="Endereco" />
                <asp:BoundField DataField="DataNascimento" HeaderText="DataNascimento" 
                    SortExpression="DataNascimento" />
                <asp:BoundField DataField="DataCadastro" HeaderText="DataCadastro" 
                    SortExpression="DataCadastro" />
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="Listar" TypeName="Negocio.Pessoa_BLL"></asp:ObjectDataSource>
    
    </div>
    </form>
</body>
</html>
